package com.sxf.biz.customer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sxf.biz.customer.vo.ProjectCenterSubjectsListRes;
import com.sxf.biz.customer.vo.StaffInfoDetaiVo;
import com.sxf.biz.customer.vo.SubjectListReq;
import com.sxf.biz.customer.vo.SubjectsListRes;
import com.sxf.biz.model.Customer;
import com.sxf.biz.operator.vo.CustomerDetailReq;
import com.sxf.biz.operator.vo.CustomerDetailRes;
import com.sxf.biz.operator.vo.CustomerListReq;
import com.sxf.biz.operator.vo.CustomerListRes;
import com.sxf.core.db.page.Pagination;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description: TODO
 * @Author Leo
 * @date 2024/3/1722:53
 */
public interface CustomerMapper extends BaseMapper<Customer> {

    Pagination<SubjectsListRes> getSubjectListByPage(Pagination<SubjectListReq> objectPagination, @Param("req") SubjectListReq req);


    Pagination<CustomerListRes> getCustomerListByPage(Pagination<CustomerListReq> objectPagination, @Param("req") CustomerListReq req);

    CustomerDetailRes getCustomerDetail(@Param("req")CustomerDetailReq req);

    List<StaffInfoDetaiVo> getStaffInfoByPkUser(@Param("pkUser") String pkUser);

}
